var express = require('express');
var router = express.Router();

let {createStudents,getStudents,deleteStudents,updateStudents} =require('../controllers/studentsControllers')
// 二级接口
router.post('/createStudents', createStudents);
router.get('/', getStudents);
router.post('/:_id', deleteStudents);
router.post('/updateStudents', updateStudents);

module.exports = router;
